static void GPS_D106_Get(GPS_PWay* way, UC* s);
static void GPS_D107_Get(GPS_PWay* way, UC* s);
static void GPS_D108_Get(GPS_PWay* way, UC* s);
-static void GPS_D109_Get(GPS_PWay* way, UC* s, int proto);
+static void GPS_D109_Get(GPS_PWay* way, UC* s, int protoid);
static void GPS_D150_Get(GPS_PWay* way, UC* s);
static void GPS_D151_Get(GPS_PWay* way, UC* s);
static void GPS_D152_Get(GPS_PWay* way, UC* s);
static void GPS_D106_Send(UC* data, GPS_PWay way, int32* len);
static void GPS_D107_Send(UC* data, GPS_PWay way, int32* len);
static void GPS_D108_Send(UC* data, GPS_PWay way, int32* len);
-static void GPS_D109_Send(UC* data, GPS_PWay way, int32* len, int proto);
+static void GPS_D109_Send(UC* data, GPS_PWay way, int32* len, int protoid);
static void GPS_D150_Send(UC* data, GPS_PWay way, int32* len);
static void GPS_D151_Send(UC* data, GPS_PWay way, int32* len);
static void GPS_D152_Send(UC* data, GPS_PWay way, int32* len);
static void GPS_D154_Send(UC* data, GPS_PWay way, int32* len);
static void GPS_D155_Send(UC* data, GPS_PWay way, int32* len);
-static void GPS_D120_Get(int n, char* data);
+static void GPS_D120_Get(int cat_num, char*s);
static void GPS_D200_Get(GPS_PWay* way, UC* s);
static void GPS_D201_Get(GPS_PWay* way, UC* s);
static void process_pmtklog();
static void process_pmtk001();
static void process_pmtk705();
-static void send_command(const char* s, const char* waitfor);
+static void send_command(const char* s, const char*wait_for);
static int calculate_checksum(const char* s, int length);
static void dbg(int l, const char* msg, ...);